fix(ci): prevent parallel git diff when detecting new issues in monorepo#1092
Merged
matejchalk merged 2 commits intomainfrom Aug 28, 2025
Merged
fix(ci): prevent parallel git diff when detecting new issues in monorepo#1092matejchalk merged 2 commits intomainfrom
matejchalk merged 2 commits intomainfrom
Conversation
|
View your CI Pipeline Execution ↗ for commit 5176de7
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
Contributor
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit c4a8b09 with previous commit 5b4069a. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👎 2 groups regressed, 👍 2 audits improved, 👎 4 audits regressed, 14 audits changed without impacting score🗃️ Groups
19 other groups are unchanged. 🛡️ Audits
590 other audits are unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3 different monorepos have encountered the same bug, recently. It happens towards the end of the run, after bulk compare has completed succesfully.
After inspecting the source code, I believe the cause was
findNewIssuesbeing run in parallel, because it performs Git operations -git fetch origin main --depth=1followed bygit diff FETCH_HEAD HEAD ...- which fit the error message.Refactored to ensure these operations are run sequentially.